<?php
//以下代码为PHP核心代码 如若不明 请勿修改
include './rule/cxurl.php';
$curl = $cxlink;
if(empty($_GET['page'])){
    $_GET['page']='1';
}
if (empty($_GET['net'])) {
    $cxurl = $cxlink;
    $x=$_GET['page'];
    $url = $cxurl."?p=".$x;
} else {
    $cxurl = $cxlink."?cid=".$_GET["net"];
    $x=$_GET['page'];
    $y=$_GET['net'];
    $url = $cxlink."?p=".$x."&cid=".$y;
}
$list=json_decode(file_get_contents($cxurl),true);
$data=json_decode(file_get_contents($url),true);
$recordcount = $data['page']['recordcount'];
$pagesize = $data['page']['pagesize'];
?>